.cl-tabs {
    height: 100%;
    width: 100%;

    &__header {
        display: flex;
    }

    &__bar {
        box-sizing: border-box;
        white-space: nowrap;
        text-align: center;
        background-color: #fff;
        border-bottom: 1rpx solid #eee;
        position: relative;
        width: calc(100% - 80rpx);

        .uni-scroll-view::-webkit-scrollbar {
            display: none;
        }

        &-li {
            display: inline-block;
            height: 80rpx;
            line-height: 80rpx;
            margin: 0 20rpx;
            font-size: 28rpx;
            box-sizing: border-box;
            border-bottom-style: solid;
            border-bottom-width: 4rpx;
            border-bottom-color: transparent;

            &.active {
                color: $color-primary;
                border-bottom-color: currentColor;
            }

            .cl-tabs__icon {
                font-size: 30rpx;

                &--prefix {
                    margin-right: 10rpx;
                }

                &--suffix {
                    margin-left: 10rpx;
                }
            }
        }
    }

    &__pane {
        height: calc(100% - 80rpx);
        background-color: #fff;

        .cl-tab-pane {
            height: 100%;

            &__scroller {
                height: 100%;
            }
        }
    }

    &__swiper {
        height: 100%;
        &-scroller {
            height: 100%;
        }
    }

    &__menu {
        height: 80rpx;
        width: 80rpx;

        &-list {
            padding: 10rpx 20rpx;
            width: 100%;
            box-sizing: border-box;
            position: absolute;
            right: 0;
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 300;

            text {
                display: inline-block;
                padding: 4rpx 10rpx;
                margin: 10rpx;
                color: #fff;
            }
        }
    }

    &--sticky {
        .cl-tabs__header {
            position: sticky;
            top: 90rpx;
            z-index: 9;
        }
    }
}
